.spectrum-Banner {
  display: inline-block;
  border-radius: var(--spectrum-banner-border-radius, var(--spectrum-global-dimension-static-size-100));
  padding-top: var(--spectrum-banner-padding-y, var(--spectrum-global-dimension-static-size-50));
  padding-bottom: var(--spectrum-banner-padding-y, var(--spectrum-global-dimension-static-size-50));
  padding-left: var(--spectrum-banner-padding-x, var(--spectrum-global-dimension-static-size-100));
  padding-right: var(--spectrum-banner-padding-x, var(--spectrum-global-dimension-static-size-100));
  font-size: var(--spectrum-banner-text-size, var(--spectrum-global-dimension-font-size-75));
  line-height: var(--spectrum-banner-text-line-height, var(--spectrum-alias-heading-text-line-height));
}

.spectrum-Banner-header {
  font-weight: bold;
}

[dir="ltr"] .spectrum-Banner--corner {
  right: -10px;
}

[dir="rtl"] .spectrum-Banner--corner {
  left: -10px;
}

.spectrum-Banner--corner {
  position: absolute;
  top: -10px;
}

.spectrum-Banner {
  color: var(--spectrum-banner-text-color, var(--spectrum-global-color-static-white));
}

.spectrum-Banner--info {
  background-color: var(--spectrum-banner-info-background-color, var(--spectrum-semantic-informative-color-default));
}

.spectrum-Banner--warning {
  background-color: var(--spectrum-banner-warning-background-color, var(--spectrum-semantic-notice-color-default));
}

.spectrum-Banner--error {
  background-color: var(--spectrum-banner-error-background-color, var(--spectrum-semantic-negative-color-default));
}
